package edu.nbut.hotel.model.entity.pojo;

import java.util.Date;

public class CheckOut {
    private long id;
    private Guest guest;
    private Room room;
    private Double price;
    private String roomType;
    private int time;
    private Double pay;
    private Double cost;
    private Date checkInDate;
    private Date checkOutDate;

    public CheckOut(){}

    public CheckOut(Guest guest, Room room, Double price, String roomType,
                    int time, Double pay, Double cost, Date checkInDate, Date checkOutDate) {
        this.guest = guest;
        this.room = room;
        this.price = price;
        this.roomType = roomType;
        this.time = time;
        this.pay = pay;
        this.cost = cost;
        this.checkInDate = checkInDate;
        this.checkOutDate = checkOutDate;
    }

    public Date getCheckInDate() {
        return checkInDate;
    }

    public void setCheckInDate(Date checkInDate) {
        this.checkInDate = checkInDate;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Guest getGuest() {
        return guest;
    }

    public void setGuest(Guest guest) {
        this.guest = guest;
    }

    public Room getRoom() {
        return room;
    }

    public void setRoom(Room room) {
        this.room = room;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getRoomType() {
        return roomType;
    }

    public void setRoomType(String roomType) {
        this.roomType = roomType;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public Double getPay() {
        return pay;
    }

    public void setPay(Double pay) {
        this.pay = pay;
    }

    public Double getCost() {
        return cost;
    }

    public void setCost(Double cost) {
        this.cost = cost;
    }

    public Date getCheckOutDate() {
        return checkOutDate;
    }

    public void setCheckOutDate(Date checkOutDate) {
        this.checkOutDate = checkOutDate;
    }
}
